package com.bbdjt.weixin.dao;

import java.util.List;

import com.bbdjt.weixin.model.ForumPost;
import com.github.pagehelper.PageInfo;
import com.bbdjt.weixin.base.mapper.BaseMapper;
import com.bbdjt.weixin.model.ForumPostQueryModel;
public interface ForumPostDao extends BaseMapper<ForumPost> {
	
	/**
     * 分页查询
     *
     * @param queryModel
     * @return
     */
    PageInfo<ForumPostQueryModel> selectByForumPostMap(ForumPost forumPost);
    
    PageInfo<ForumPostQueryModel> selectByForumPostModel(ForumPostQueryModel forumPost);

    List<ForumPost> selectAllForumPost(ForumPost forumPost);

	ForumPost selectDetailsForumPost(ForumPost forumPost);

}